﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;

namespace MainGame.GameForm
{
    public class GameOver : FormControl
    {
        public GameOver(ContentManager content)
            : base(content)
        {
        }

        protected override void Paint(Microsoft.Xna.Framework.GameTime gameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, object extraData)
        {
            base.Paint(gameTime, spriteBatch, extraData);
            spriteBatch.DrawString(Round.BigFont, Round.Hero.Score.ToString(), this.Position, Color.White);
        }
    }
}
